/* 设置全局样式 */
html, body {
    /* 去除默认的外边距和内边距 */
    margin: 0;
    padding: 0;
    /* 设置字体和背景颜色 */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f4f4f4;
    /* 确保页面内容能适应视口高度 */
    height: 100vh;
    width: 100vw;
    /* 处理溢出内容 */
    overflow-x: hidden;
}

/* body {
    padding-bottom: constant(safe-area-inset-bottom); 
    padding-bottom: env(safe-area-inset-bottom);
} */

/* 重置其他 HTML 元素的默认样式 */
/* 重置所有元素的内外边距 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 重置列表样式 */
ul, ol {
    list-style: none;
}

/* 重置超链接样式 */
a {
    text-decoration: none;
    color: inherit;
}

/* 重置标题元素样式 */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* 重置表单元素样式 */
input, button, textarea, select {
    font: inherit;
}

/* 重置图片元素样式 */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

body {
    background-image: linear-gradient(to bottom, #980807, #fcf5ec);
    padding: 0 .4rem 1.6rem;
}

.box-header {
    height: 1.6rem;
    background: url(../img/box-header.jpg) no-repeat;
    background-size: 100% 100%;
    margin: 0 -.4rem;
}
.box-content {
    background: #fff;
    /* height: calc(100vh - 5.6rem); */
    border-radius: 0 0 .2rem .2rem;
    margin-top: -1px;
    padding-top: .4rem;
    padding-bottom: .2rem;
}
.box-content-img {
    background: url(../img/box-content-img.jpg) no-repeat;  
    background-size: 100% 100%;
    height: 4.48rem;
    margin: 0 .2rem .4rem;
    border-radius: .2rem;
}
.box-content-img h3 {
    font-size: .4rem;
    font-weight: bolder;
    text-align: center;
    padding-top: 1rem;
}
.box-content-img-des {
    padding: .05rem .2rem;
    font-size: .3rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
}
.box-content-img-des span {
    color: #f79a67;
}

.font-size-28 {
    font-size: .24rem;
}

.box-header-right {
    /* height: 2rem; */
    width: 100%;
    border-radius: .2rem .2rem 0 0;
    background-image: linear-gradient(to bottom, #fedecc, #ffffff);
    padding-top: .4rem;
    position: relative;
}
.box-header-right h3{
    font-size: .4rem;
    font-weight: 700;
    color: #d62722;
    text-align: center;
}
.box-waring-description {
    background: url(../img/txt-guifan.png) no-repeat;
    background-size: 100% 100%;
    height: 1.3rem;
    width: 90%;
    margin: 0 auto;
}
.no-waring {
    background: url(../img/no-waring.png) no-repeat;
    background-size: 100% 100%;
    height: .23rem;
    width: 6rem;
    margin: .2rem auto;
}

.box-content-description {
    padding: .1rem .2rem;
    font-size: .3rem;
    line-height: 1.5;
}
.box-content-description span {
    color: #fa5900;
    font-weight: bold;
}
.theme-color {
    color: #fa5900;
    font-weight: bold;
}
.fonwt {
    font-size: .4rem;
}

.box-footer {
    display: flex;
    justify-content: space-between;
    position: fixed;
    padding: .2rem .3rem;
    /* color: #fff; */
    font-size: .3rem;
    width: 100%;
    bottom: 0;
    left: 0;
    background: #fff;
    /* text-align: center;
    border-radius: .5rem;
    background-image: linear-gradient(to right, #fa590096, #fa5900);  */
}
.pay-fang,
.select-group {
    display: flex;
    margin-left: .2rem;
    align-items: center;
}
.select-group span {
    margin-left: .1rem;
}
.icon {
    width: .4rem;
    height: .4rem;
    /* background-image: url(../img/icon-select.svg); */
    /* background-size: 100% 100%; */
    /* background-repeat: no-repeat; */
}

.box-header-description {
    margin: .4rem ;
    background: url(../img/header-img.png) no-repeat;
    background-size: 100% 100%;
    height: .9rem;
    width: 90%;
}
.select-weixin {
    background-image: url(../img/weixin.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.select-zhifubao {
    background-image: url(../img/zhifubao.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-left: .4rem;
}
.select-icon {
    width: .6rem;
    height: .6rem;
    background-image: url(../img/icon-select.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.selec-active {
    width: .6rem;
    height: .6rem;
    background-image: url(../img/icon-select-active.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.pay-group {
    display: flex;
    align-items: center;
}
.go-pay-btn {
    padding: .22rem .6rem;
    color: #fff;
    border-radius: .5rem;
    background: #fa5900;
    /* background-image: linear-gradient(to right, #fa590096, #fa5900); */
}
.pop-xieyi {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgb(0, 0, 0, 0.6);
}
.pop-content {
    background: #fff;
    border-radius:.4rem;
    padding:.4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    /* height: 40vh; */
}
.pop-content-des {
    position: relative;
    line-height: 1.5;
}
.pop-content-des p {
    font-size: .2rem;
    line-height: 1.5;
}
.pop-title {
    font-size: .4rem;
    font-weight: 700;
    color: #fa5900;
    text-align: center;
    margin: 0;
    margin-bottom: .2rem;
}
.pop-close-btn {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: -1rem;
    background: url(../img/icon-close.svg) no-repeat;
    background-size: 100% 100%;
    width: .6rem;
    height: .6rem;
}
.agree {
    padding-left: .2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #666;
    margin-top: .1rem;
}
.agree img {
    width: .3rem;
    height: .3rem;
    margin-right: .12963rem;
}
.agree span {
    color: #0072ff;
}
.pay-select {
    margin-top: .1rem;
}

.user-info {
    background: #fff;
    margin-top: .2rem;
    border-radius: .2rem;
}
.info-title {
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: .2rem;
}
.info-title .title-left {
    font-size: .36rem;
    /* font-weight: 700; */
    position: relative;
    padding-left: .2rem;
}
.info-title .title-left:after {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    display: block;
    width: .08rem;
    height: .4rem;
    background: #fa5900;
}
.show-info {
    color: #333;
    font-size: .28rem;
    padding:.2rem;
    line-height: 1.5;
}

.title-right span {
    width: .3rem;
    height: .3rem;
    display: inline-block;
    background: url(../img/editor-icon.svg) no-repeat;
    background-size: 100% 100%;
    margin-right: .1rem;
}

.title-right {
    display: flex;
    align-items: center;
    color: #17abe3;
    font-size: .2rem;
}
.pop-editor h3 {
    padding: 0 0 .3rem;
    font-weight: bolder;
    font-size: .4rem;
    text-align: center;
}
.pop-content-des-item {
    padding: .2rem 0;
    font-size: .3rem;
    width: 96%;
}
label {
    min-width: 1.4rem;
    display: inline-block;
}
input,
textarea {
    border: none;
    border: 1px solid #e7e7e7;
    padding: .1rem;
    border-radius: .1rem;
    width: 70%;
}
input:focus-visible,
textarea:focus-visible {
    outline: none;
}
.pop-buttons {
    display: flex;
    justify-content: center;
    margin-top: .2rem;
    gap: 1rem; /* 添加按钮之间的间距 */
}

.submit-btn,
.close-btn {
    padding: 0.15rem .6rem; /* 增大内边距，让按钮更大 */
    border: none;
    border-radius: 0.8rem; /* 增大圆角半径 */
    font-size: 0.3rem; /* 增大字体大小 */
    cursor: pointer;
    transition: all 0.3s ease; /* 为所有属性添加过渡效果 */
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

.submit-btn {
    background-color: #fa5900;
    color: #ffffff;
    text-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.2); /* 添加文字阴影 */
}

.add-address {
    display: flex;
}
textarea {
    width: 100%;
    height: 1.5rem;
    resize: vertical;
}

.close-btn {
    background-color: #e7e7e7;
    color: #333333;
}


/* 欢迎弹窗样式 */
.welcom-pop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.welcome-content {
    width: 6rem;
    background: #fff;
    border-radius: 0.3rem;
    /* overflow: hidden; */
    animation: popIn 0.3s ease;
    position: relative;
}

.welcome-header {
    position: relative;
    padding: 0.4rem;
    background: #f0f0f0;
}

.welcome-logo {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    margin: 0 auto;
}

.welcome-close {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    width: 0.4rem;
    height: 0.4rem;
    line-height: 0.4rem;
    text-align: center;
    font-size: 0.3rem;
    color: #999;
    cursor: pointer;
}

.welcome-body {
    padding: 0.4rem;
    text-align: center;
}

.welcome-body h3 {
    font-size: 0.36rem;
    font-weight: 700;
    color: #ff4800;

    /* margin-bottom: 0.2rem; */
}

.welcome-body p {
    font-size: 0.28rem;
    color: #666;
}

.welcome-footer {
    padding: 0.4rem;
    text-align: center;
}

.welcome-btn {
    width: 100%;
    padding: 0.2rem;
    background: #ff5000;
    color: #fff;
    border: none;
    border-radius: 0.1rem;
    font-size: 0.32rem;
    cursor: pointer;
}

.star {
    position: absolute;
    top: -1rem;
    right: 1rem;
    width: 0.8rem;
    height: 0.8rem;
    background: url('../img/xingxing-icon.png') no-repeat;
    animation: twinkle 1.5s infinite ease-in-out;
    background-size: 100% 100%;
}

.star1 {
    right: 5rem;
    top: -4rem;
}

.star2 {
    right: 3rem;
    top: 4rem;
}

@keyframes twinkle {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

